package com.ljc.service;

import com.ljc.entity.CollegeUsersSum;
import com.ljc.entity.User;
import com.ljc.vo.UserSearch;

import java.util.List;

public interface UserService {
    List<User> findByDeanId(int deanId);
    User login(User user);
    List<CollegeUsersSum> getCollegeUserSum(int deanId);
    List<User> searchUser(UserSearch userSearch);
    void addUser(User user);
    User getOne(int userId);
    void updateUser(User user);
    void deleteUser(int userId);
    String getCollegeNameByUserId(int id);
}
